classdef Homework
    %Homework Summary of this class goes here
    %   Detailed explanation goes here

    properties (Access = private)
        name
    end

    methods
        function obj = Homework(hw_name)
            %Homework Construct an instance of this class
            %   Detailed explanation goes here
            obj.name = hw_name;
            obj.dispStr();
%             model01.printInfo(obj);
            obj.model01.printInfo();
        end

        function out_str = getName(obj, do_str)
            %getName Summary of this method goes here
            %   Detailed explanation goes here
            out_str = [do_str, ': ', obj.name];
        end

        function out_str = who_finish(obj, do_str)
            out_str = obj.finishBy(do_str);
        end
    end
end